package number4;

public class print1_52 extends Thread {
	 @Override
	    public void run() {
	        for (int i = 1; i <= 52; i += 2) {
	            System.out.print(i+" ");
	            System.out.print(i + 1+" ");
	            synchronized (printA_Z.lock) {
	                printA_Z.lock.notify();
	                try {
	                    printA_Z.lock.wait();
	                } catch (InterruptedException e) {
	                    e.printStackTrace();
	                }
	            }
	        }
	    }
}
